package com.nightsoul.jmemcached.clent2;

import net.spy.memcached.AddrUtil;
import net.spy.memcached.MemcachedClient;

public class Client2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		MemcachedClient client = new MemcachedClient(AddrUtil.getAddresses("localhost:11211"));
		Object answer = client.get("name");
		System.out.println(answer);
		client.shutdown();
	}

}
